﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Reflection;
using System.Diagnostics;

namespace IRC.IRepairClouds.DataLayer.Expressions
{
    public class MemberMemberBindingBuilder<T, TP> : MemberBindingBuilder<T>
    {
        internal MemberMemberBindingBuilder(MemberInfo member, params MemberBindingBuilder<TP>[] bindings)
            : base(Expression.MemberBind(member, bindings.Select(i => i.MemberBinding).ToArray()))
        {
        }
    }
}
